|
|
|
|
|
|
|
Public Property Let RecordSource(ByVal vNewValue As String)
'
strRSName = vNewValue
frmFind.Data1.RecordSource = strRSName
'
End Property |
|
|
|
|
|
|
|
|
Next, build the ListField property and add the code from Listing 12.9. |
|
|
|
|
|
|
|
|
Listing 12.9. Building the ListField property. |
|
|
|
|
|
|
|
|
Public Property Get ListField() As String
'
ListField = frmFind.DBList1.ListField
'
End Property
Public Property Let ListField(ByVal vNewValue As String)
'
strListField = vNewValue
frmFind.DBList1.ListField = strListField
'
End Property |
|
|
|
|
|
|
|
|
Next, create the BoundColumn property and enter the code from Listing 12.10. |
|
|
|
|
|
|
|
|
Listing 12.10. Adding the BoundColumn property. |
|
|
|
|
|
|
|
|
Public Property Get BoundColumn() As String
'
BoundColumn = frmFind.DBList1.BoundColumn
'
End Property
Public Property Let BoundColumn(ByVal vNewValue As String)
'
strBoundColumn = vNewValue
frmFind.DBList1.BoundColumn = strBoundColumn
'
End Property |
|
|
|
|
|
|
|
|
Finally, add the BoundText property and enter the code from Listing 12.11. |
|
|
|
|
|